package org.example.mapper;

import org.example.model.Student;

import java.util.List;

public interface StudentMapper {
    //查询所有学生信息
    List<Student> selectAllStudent( );
    //根据id查询学生信息
    Student selectStudentById(Integer id);
    //根据主键删除指定的学生
    int deleteStudentById(Integer id);
    //根据主键修改学生姓名和数学成绩
    int updateStudentById(Student student);
}
